<template>
  <div>-----{{ num }}</div>
  <div>---------{{ obj.name }}</div>
  <button @click="btn">点击</button>
</template>

<script setup>
import { ref } from "vue";
const num = ref(100);
const obj = ref({
  name: "杨逍",
});
const btn = () => {
  console.log();
  num.value++;
};
</script>

<style></style>
